package com.example.studyproject.annotation;

import java.lang.annotation.*;

/**
 * @author kw
 * @program study-project
 * @description 加解密注解
 * @create 2024 - 09 - 06 18:40
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface EncryptionAnnotation {

    /**
     * 加密
     *
     * @return
     */
    boolean encryp() default true;

    /**
     * 解密
     *
     * @return
     */
    boolean decryp() default true;
}
